ExternalMedia: A Library for Easy Re-Use of External Fluid Property Code in Modelica
نویسندگان
چکیده
The modeling of thermo-physical fluid properties is of great importance when modeling thermo-fluid systems. The Modelica Standard Library provides a number of medium models that can be used in component models but are not sufficient in many applications. This paper presents a new interface library with a Modelica front-end that allows for an easy inclusion of external fluid property code in Modelica using the standard interfaces provided in the Modelica.Media library. The new library was developed as an open-source project and is available for free from the Modelica website including an interface to the FluidProp software developed and maintained at TU Delft. The new library can easily be extended to other external fluid property code.
منابع مشابه
A Numeric Library for Use in Modelica Simulations with Lapack, SuperLU, Interpolation, and MatrixIO
This paper introduces a numerical Modelica library that provides access to some of the most well-known powerful libraries for numerical methods. Our approach has been to develop wrappers that allow Modelica users easy access as functions both from textual and graphical Modelica environments [9], [10]. This library also includes additional external functions with corresponding Modelica wrappers ...
متن کاملCustom Annotations: Handling Meta-Information in Modelica
Annotations and attributes form an important part of the Modelica language. They are used to include various meta-information such as documentation, external C-code, compilation hints, etc. Given the increasingly wide field of potential applications the set of useful annotations becomes too large to be included in the language specification. Hence we present a proposal how a Modelica modeler ma...
متن کاملStatic Validation of Modelica Models for Language Compliance and Structural Integrity
The increasing importance of the simulation of physical systems models demands enhanced support for developers. Models do not only increase in terms of quantity, but also complexity. Hence, libraries need to be created containing valid models for re-use. It is crucial for library developers to get immediate feedback about errors regarding the language specification. Moreover, users of libraries...
متن کاملTool Demonstration Abstract: OpenModelica Graphical Editor and Debugger
This paper demonstrates the OpenModelica graphic editor for easy-to-use graphic modeling of Modelica models and the Modelica debugger. The graphic editor aims at providing a user friendly open source Modelica modeling graphical user interface since most of the already existing open source tools were either textual or not so user friendly. The target audiences for the tool are the Modelica users...
متن کاملObject–oriented modeling with bond graphs and Modelica
A new modeling language, called Modelica, for physical systems modeling is being developed in an international effort. The main objective is to make it easy to exchange models and model libraries. The design of Modelica builds on non-causal modeling and the use of object-oriented constructs stemming from modern software development, (hierarchy, encapsulation) to facilitate reuse of models and m...
متن کامل